package eval;

import org.eclipse.jetty.io.ClientConnectionFactory;
import org.junit.jupiter.api.Test;

import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileReader;
import java.io.FileWriter;
import java.util.ArrayList;

public class analyseHtml {
    @Test
    public void testHtml(){
        String str = "";
    }
    public String analyse(String filename){
        StringBuffer whole=new StringBuffer();
        BufferedReader reader = null;
        try
        {
            reader = new BufferedReader(new FileReader(filename));
            String tmp;
            while ((tmp = reader.readLine()) != null)
            {
                whole.append(tmp);
            }
            reader.close();

        }
        catch (Exception e)
        {
            e.printStackTrace();
        }
        return whole.toString();
    }
}
